<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ include file="common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>操作日志查询</title>

<link href="<s:url value="/css/common.css"/>" type="text/css" rel="stylesheet" />
	

<script type="text/javascript"
	src="<s:url value="/js/jquery-1.3.2.js" />"></script>
<script type="text/javascript" src="<s:url value="/js/common.js" />"></script>
<script language="javascript" type="text/javascript"
	src="<s:url value="/js/My97DatePicker/WdatePicker.js"/>"></script>
<script type="text/javascript">
<!--
	$(document).ready(
			function() {
				
				
				
			});

	-->
</script>



</head>
<body>
	<div class="subpage">
		<s:form id="syslogForm" action="sysLogSearch.ct" method="post" namespace="/syslog"
			 theme="simple">
		<table class="tb">
		    <tbody>
		        <tr class="tb-line">
		            <td class="tb-td" colspan="4"><div class="tb-h2">POS收单运营管理平台</div></td>
		        </tr>
		
		        <tr class="tb-line">
		            <td class="tb-td" colspan="4"><div class="tb-h3">操作日志查询</div></td>
		        </tr>
		
		        <tr class="tb-line">
		            <td width="12%" style="min-width: 150px" align="right" class="tb-td">
		                <div class="tb-h4">起始日期：</div>
		            </td>
		            <td class="tb-td">
		                <label class="tb-input-normal"><s:textfield
							name="searchCondition.startDate"
							onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true,wdate:true,errDealMode:0});"
							theme="simple" cssClass="queryWidth" /> </label>到
		                <label class="tb-input-normal"><s:textfield
							name="searchCondition.endDate"
							onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true,wdate:true,errDealMode:0});"
							theme="simple" cssClass="queryWidth" /></label>
		            </td>
		            <s:if test="#session.session_merchant.merType==\"01\"&&#request.merchantList!=null&&#request.merchantList.size>0"> 
					<td class="tb-td" align="right" width="15%">代理商：</td>
					<td class="tb-td" ><s:select name="searchCondition.operators" list="#request.merchantList" listKey="accountNo" listValue="realName" headerKey="99" headerValue="--请选择--"></s:select>
						</td></s:if>
		        </tr>
		
		        <tr class="tb-line">
		            <td class="tb-td line-submit" align="right" colspan="2">
		                <label class="tb-input-submit">
		                    <s:submit value="查   询"
							id="fileQueryBtn" />
		                </label>
		            </td>
		        </tr>
		    </tbody>
		</table>
			
		<div class="big-tb">
		    <table class="tb" style="width: 100%;">
		        <thead>
		            <tr class="tb-line">
		                <th class="tb-th" colspan="12">操作日志明细信息</th>
		            </tr>
		            <s:if test="#request.searchRsList != null && #request.searchRsList.size>0">
					<tr class="tb-line">
						<td class="tb-td paging" align="left" colspan="12" >
							 <page:pageCount
									max_pages="11" totalPage="${requestScope.totalPage}"
									currentPage="${requestScope.currentPage}"
									action="${rootPath}/syslog/sysLogSearch.ct?currentPage=" />
						</td>
					</tr>
					</s:if>
		            <tr class="tb-line bg-gray">
		                <th class="tb-th">操作日期</th>
		                <th class="tb-th">操作员</th>
		                <th class="tb-th">操作名称</th>
		                <th class="tb-th">详细内容</th>
		            </tr>
		        </thead>
		        <tbody>
					<s:iterator value="#request.searchRsList" status="stat" id="element">
							<tr class="tb-line" >
							
							<td  class="tb-td"><s:property value="#element.date"/></td>
							<td  class="tb-td"><s:property value="#element.operators"/></td>
					        <td  class="tb-td"><s:property value="#element.oper_name"/></td>
							<td  class="tb-td"><s:property value="#element.log_context"/></td>
							
						    </tr>
					</s:iterator>
		        </tbody>
		    </table>
		</div>
			
		
		</s:form>
	</div>
</body>
</html>